package com.peng.mapper;

import com.peng.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    //查询单个用户
    User getUserById(int id);

    //分页查询
    List<User> getUserLimit(Map<String,Object> map);

    //分页查询Rowbounds
    List<User> getUserBounds();
}
